<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>

<!-- 1.给style/link标签添加type属性为text/less -->
<link rel="stylesheet" type="text/less" href="./less/test3.less">
<!-- 2.引入less.js用于将less编译为css -->
<script src="./less/less.js"></script>
<!-- 3.当前页面需要在服务器环境运行（使用Live Server打开页面） -->

</head>
<body>
    
<div class="wrap">
    <div class="header">header</div>
    <div class="content">
        <div class="left">
            <span>span 1</span>
            <span>span 2</span>
        </div>
        <div class="right">
            <p>p 1</p>
            <p>p 2</p>
        </div>
    </div>
    <div class="footer"><a href="#">footer</a></div>
</div>

<div class="container">
    <div class="container-header">
        <div class="container-header-left">left</div>
        <div class="container-header-right">right</div>
    </div>
</div>

</body>
</html>